package io.renren.modules.udp.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.modules.udp.entity.R5rmSkillstatusEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * 技术状态
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-01-13 15:57:13
 */
@Mapper
public interface R5rmSkillstatusDao extends BaseMapper<R5rmSkillstatusEntity> {
    /**
     * 获取光总发电量与风总发电量
     * @return
     */
    Map getDlMap(String username);

    /**
     * 根据用户查出对应设备数量情况
     * @param map
     * @return
     */
    int selectCountByUser(Map map);
}
